home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.3 / MoveToplev.3 < prev    next >
Text File  |  1995-07-25  |  5KB  |  133 lines

  1.  
  2.  
  3.  
  4.      TTTTkkkk____MMMMoooovvvveeeeTTTToooopppplllleeeevvvveeeellllWWWWiiiinnnnddddoooowwww((((3333))))     TTTTkkkk (((( ))))      TTTTkkkk____MMMMoooovvvveeeeTTTToooopppplllleeeevvvveeeellllWWWWiiiinnnnddddoooowwww((((3333))))
  5.  
  6.  
  7.  
  8.      _________________________________________________________________
  9.  
  10.      NNNNAAAAMMMMEEEE
  11.           Tk_MoveToplevelWindow - Adjust the position of  a  top-level
  12.           window
  13.  
  14.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  15.           ####iiiinnnncccclllluuuuddddeeee <<<<ttttkkkk....hhhh>>>>
  16.  
  17.           TTTTkkkk____MMMMoooovvvveeeeTTTToooopppplllleeeevvvveeeellllWWWWiiiinnnnddddoooowwww((((_t_k_w_i_n, _x, _y))))
  18.  
  19.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  20.           Tk_Window   _t_k_w_i_n   (in)      Token for top-level window  to
  21.                                         move.
  22.  
  23.           int         _x       (in)      New x-coordinate for the  top-
  24.                                         left  pixel of _t_k_w_i_n's border,
  25.                                         or the top-left pixel  of  the
  26.                                         decorative border supplied for
  27.                                         _t_k_w_i_n by the  window  manager,
  28.                                         if there is one.
  29.  
  30.           int         _y       (in)      New y-coordinate for the  top-
  31.                                         left  pixel of _t_k_w_i_n's border,
  32.                                         or the top-left pixel  of  the
  33.                                         decorative border supplied for
  34.                                         _t_k_w_i_n by the  window  manager,
  35.                                         if there is one.
  36.      _________________________________________________________________
  37.  
  38.  
  39.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  40.           In general, a window should  never  set  its  own  position;
  41.           this  should  be  done  only  by the geometry manger that is
  42.           responsible for  the  window.   For  top-level  windows  the
  43.           window  manager  is  effectively  the  geometry manager;  Tk
  44.           provides interface code  between  the  application  and  the
  45.           window  manager  to  convey the application's desires to the
  46.           geometry manager.  The desired size for a  top-level  window
  47.           is  conveyed  using  the usual TTTTkkkk____GGGGeeeeoooommmmeeeettttrrrryyyyRRRReeeeqqqquuuueeeesssstttt mechanism.
  48.           The  procedure  TTTTkkkk____MMMMoooovvvveeeeTTTToooopppplllleeeevvvveeeellllWWWWiiiinnnnddddoooowwww  may  be  used  by  an
  49.           application to request a particular position for a top-level
  50.           window;  this procedure is similar in  function  to  the  wwwwmmmm
  51.           ggggeeeeoooommmmeeeettttrrrryyyy  Tcl command except that negative offsets cannot be
  52.           specified.  It is invoked by widgets such as menus that want
  53.           to appear at a particular place on the screen.
  54.  
  55.           When TTTTkkkk____MMMMoooovvvveeeeTTTToooopppplllleeeevvvveeeellllWWWWiiiinnnnddddoooowwww is called it doesn't  immediately
  56.           pass  on the new desired location to the window manager;  it
  57.           defers this action until all other outstanding work has been
  58.           completed, using the TTTTkkkk____DDDDooooWWWWhhhheeeennnnIIIIddddlllleeee mechanism.
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 7/23/95)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      TTTTkkkk____MMMMoooovvvveeeeTTTToooopppplllleeeevvvveeeellllWWWWiiiinnnnddddoooowwww((((3333))))     TTTTkkkk (((( ))))      TTTTkkkk____MMMMoooovvvveeeeTTTToooopppplllleeeevvvveeeellllWWWWiiiinnnnddddoooowwww((((3333))))
  71.  
  72.  
  73.  
  74.      KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
  75.           position, top-level window, window manager
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 7/23/95)
  130.  
  131.  
  132.  
  133.